/**
 * 
 */
package com.youth.fund.hk.hostManager.shiro.dao;

import java.util.List;

import com.youth.fund.hk.hostManager.common.dao.ICommonDao;
import com.youth.fund.hk.hostManager.shiro.datamodel.Resource;

/**
 * @author Sunk_Sky
 *
 * 2014年11月13日下午6:01:26
 */
public interface ResourceDao extends ICommonDao<Resource>
{

    public Resource createResource(Resource resource);
    public Resource updateResource(Resource resource);
    public void deleteResource(Long resourceId);

    Resource findOne(Long resourceId);
    List<Resource> findAll();
}
